#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QAbstractButton>
#include <QPushButton>
#include <QDialog>
#include <QTableWidget>

namespace Ui {
class SettingsDialog;
}

class SettingsDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SettingsDialog(QWidget *parent = 0);
    ~SettingsDialog();

private slots:
    void on_buttonBox_clicked(QAbstractButton *button);
    void on_AddButton_clicked();

    void on_cleanallButton_clicked();

    void on_cleanButton_clicked();

    void on_exportButton_clicked();

    void on_importButton_clicked();

    void on_lineEdit_4_returnPressed();

    void on_buttonBox_2_clicked(QAbstractButton *button);

    void on_tableWidget_cellChanged(int row, int column);


    void on_tableWidget_cellClicked(int row, int column);

private:
    void DrawTable(void);
    void chartSetting(void);

private:
    Ui::SettingsDialog *ui;

public:
    QString space_str(const QString& orig);

};

#endif // SETTINGSDIALOG_H
